package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.album.config.MinioConstantProperties;
import org.springframework.web.multipart.MultipartFile;

/**
 * FileUploadService 上传管理接口
 *
 * @author Petrichor
 * @version 2023/12/21 09:41
 **/
public interface FileUploadService {
    /**
     * 上传文件
     * @author Petrichor
     * @date 2023/12/21 12:52
     * @param file 文件上传流
     * @return minio 的url
     **/
    String fileUpload(MultipartFile file, MinioConstantProperties minioConstantProperties);
}

